<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:if test="${sistema.usuario != null}">
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <html>
        <head>
            <jsp:include page = "../metadatos_importaciones.jsp" flush = "True" />
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title>DETALLES </title>
        </head>
        <body>
            <jsp:include page = "../menu.jsp" flush = "True" />
            <div class="large-12 ">
                <div class="panel">
                    <h3>Calificaciones</h3>                  
                    <div class="row"></div>
                    <input type="button" value="Regresar" class="small button" onclick="window.location='./ControlEscolar?funcion=administradorAlumnos' "/>
                    <c:forEach items="${sessionEscuela.calificaciones}" var="parcial">

                        <table>
                            <thead>
                            <th colspan="2"><div align="center">PARCIAL |  <c:out value="${parcial.nParcial}"/></div></th>
                            </thead>
                            <thead>
                            <th>MATERIA</th>
                            <th>CALIFICACION</th>
                            </thead>
                            <tbody>
                                <c:forEach items="${parcial.calificacionesParcial}" var="score">
                                    <tr>
                                        <td><c:out value="${score.materiaTitulo}"/></td>
                                        <td><div align="center"><b><c:out value="${score.calificacion}"/></b></div></td>
                                    </tr>
                                </c:forEach>
                            </tbody>
                        </table>
                    </c:forEach>

                </div>
            </div>
        </body>
    </html>
</c:if>
<c:if test="${sistema.usuario == null}">
    <jsp:include page = "../ingresaSesionAviso.jsp" flush = "True" />
</c:if>